package io.renren.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.dao.CtocTransCountDao;
import io.renren.entity.CtocTransCountEntity;
import io.renren.service.CtocTransCountService;


@Service("ctocTransCountService")
public class CtocTransCountServiceImpl extends ServiceImpl<CtocTransCountDao, CtocTransCountEntity> implements CtocTransCountService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<CtocTransCountEntity> page = this.selectPage(
                new Query<CtocTransCountEntity>(params).getPage(),
                new EntityWrapper<CtocTransCountEntity>()
        );

        return new PageUtils(page);
    }

}
